<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{$plate_celerity_post_config_row.title}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-{$plate_celerity_post_config_row.name}" data-rule="required" class="form-control selectpicker" name="{$plate_celerity_post_config_row['name']}">
                {foreach $categoryList as $v}
                <option value="{$v.id}" {if condition="$v.id eq $plate_celerity_post_config_row.value"}selected="selected"{/if}>{$v.name}</option>
                {/foreach}
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{$plate_celerity_post_quora_config_row.title}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-{$plate_celerity_post_quora_config_row.name}" data-rule="required" class="form-control selectpicker" name="{$plate_celerity_post_quora_config_row['name']}">
                {foreach $categoryList as $v}
                <option value="{$v.id}" {if condition="$v.id eq $plate_celerity_post_quora_config_row.value"}selected="selected"{/if}>{$v.name}</option>
                {/foreach}
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{$is_auto_approve_plaza['title']}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('is_auto_approve_plaza', ['1'=>__('是'), '0'=>__('否')],$is_auto_approve_plaza['value'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{$is_auto_approve_news['title']}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('is_auto_approve_news', ['1'=>__('是'), '0'=>__('否')],$is_auto_approve_news['value'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{$is_auto_approve_plate['title']}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('is_auto_approve_plate', ['1'=>__('是'), '0'=>__('否')],$is_auto_approve_plate['value'])}
        </div>
    </div>

<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{$plaza_celerity_post_config_row.title}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <select id="c-{$plaza_celerity_post_config_row.name}" data-rule="required" class="form-control selectpicker" name="{$plaza_celerity_post_config_row['name']}">-->
<!--                {foreach $plazaCelerityCategoryList as $v}-->
<!--                <option value="{$v.id}" {if condition="$v.id eq $plaza_celerity_post_config_row.value"}selected="selected"{/if}>{$v.name}</option>-->
<!--                {/foreach}-->
<!--            </select>-->
<!--        </div>-->
<!--    </div>-->

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed ">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>


</form>
